﻿using BDQN.Dtos;

namespace BDQN.IBLL
{
    public interface IRolesBll
    {
        Task<int> AddRolesAsync(string title);

        Task<int> EditRolesAsync(int id, string title);

        Task<int> DeleteRolesAsync(int id);

        Task<List<RolesDto>> GetRolesAsync();

        Task<List<RolesDto>> GetRolesAsync(string title);

        Task<RolesDto> GetRolesAsync(int id);

        string GetRolesTitle(int id);

        Task<int> DeleteRolesListAsync(params int[] idList);

    }
}
